﻿/// <reference path="../../../javascript/JSintellisense/jquery-1.3.2-vsdoc2.js" />

//通知事件
function loadData() {
    //intidata;

    var url = "/ajaxHandler.ashx";
    var para = "t=" + new Date().getTime() + "&method=businessmonitor&cityid=" + $("#hfcityid").val();
    jQuery.ajax(
    {
        type: "post",
        url: url,
        data: para,
        success: function (msg) {
            
            var json = eval("(" + msg + ")");

            //id          开始 结束 小数位数 延迟
            var demo = new CountUp("riderCount", 0, json.rider.quota, 0, 2);
            demo.start();
           

            demo = new CountUp("timeoutCount", 0, json.timeout.quota, 1, 2);
            demo.start();
           

            demo = new CountUp("loadCount", 0, json.loadCount.quota, 2, 2);
            demo.start();
           

            demo = new CountUp("totalCount", 0, json.total.quota, 0, 2);
            demo.start();
          
        }
    })


}